NG.models.LookupTable = Ext.regModel( "NG.models.LookupTable", {
	
	/**
	 * Fields:<br>
	 * <li>records: Array. Object consists of name and value fields.
	 * 
	 * @property fields
	 * @type Array
	 */
	fields: [ 
	          {name: 'records', defaultValue: []}
	         ],
	 /**
	  * @ignore
	  */
     phantom: true,
     
     /**
      * 
      * @return {String}
      */
     getRecords: function() {return this.data.records;},
     
     addRecord: function (name, value) {
    	 if (!this.data.records) {
    		 this.data.records = [];
    	 }
    	 this.data.records.push({
    		 text: name,
    		 value: value
    	 });
     }
     
});
